package com.itbaizhan.exceptoion;
/**自定义异常，程序运行时、异常*/
//继承
public class ApplicationException extends RuntimeException{

    public ApplicationException(){}

    public ApplicationException(String msg){
        super(msg);//实例化自定义异常，传递信息
    }
    public ApplicationException(String msg,Throwable throwable){
        super(msg,throwable);//传递异常，与异常对象信息
    }


}
